<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>无标题文档</title>

	</head>

	<body>
		<script type="text/javascript">
			document.write('<table border =1 cellpadding =3 bordercolor=blue align = "center" border-color=red >');
			var i = 0;
			while(i < 50) {

				if(i == 0) {
					document.write('<tr bgcolor = red>');
				}
				document.write('<td >' + i + '</td>');
				i++;
				if(i == 0) {
					document.write('</tr>');
				}

			}
			document.write('</table>');
		</script>
		<div>faf </div>
	</body>

</html>